using Services;
using UnityEngine;

public class MessageWindow : MonoBehaviour
{
    private EventSystem eventSystem;

    private void Awake()
    {
        eventSystem = ServiceLocator.Get<EventSystem>();
        eventSystem.AddListener<EMessageType, string>(EEvent.Message, ShowMessage);
    }

    private void ShowMessage(EMessageType type, string content)
    {

    }

    private void HideMessage()
    {

    }
}
